﻿using System;
using Project.DTO.StaffFile;

namespace Project.DTO.JurisdictionFile
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserInfoDto:BaseEntityDto
    {
        /// <summary>
        /// 职工Id
        /// </summary>
        public long StaffId { get; set; }
        public StaffDto Staff { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountNumber { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsState { get; set; } = true;
        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public DateTime LastDateTime { get; set; } = DateTime.Now;
    }
}
